home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / Embed / Sources / Proxy.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.7 KB  |  66 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Proxy.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Author:                M.Boetcher
  7. //
  8. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  9. //
  10. //========================================================================================
  11.  
  12. #ifndef PROXY_H
  13. #define PROXY_H
  14.  
  15. // ----- ODF Includes -----
  16.  
  17. #ifndef FWPROXY_H
  18. #include "FWProxy.h"
  19. #endif
  20.  
  21. #ifndef FWRECT_H
  22. #include "FWRect.h"
  23. #endif
  24.  
  25. //==============================================================================
  26. //    Forward declarations
  27. //==============================================================================
  28.  
  29. class FW_CEmbeddingFrame;
  30.  
  31. class CEmbedPart;
  32.  
  33. //==============================================================================
  34. //    class CEmbedProxy
  35. //==============================================================================
  36.  
  37. class CEmbedProxy : public FW_MProxy
  38. {
  39. //----------------------------------------------------------------------------------------
  40. //    Initialization/Destruction
  41. //
  42.   public:
  43.     CEmbedProxy(Environment* ev, CEmbedPart* part, FW_CPresentation* presentation);
  44.     virtual ~ CEmbedProxy();
  45.  
  46. //----------------------------------------------------------------------------------------
  47. //    Inherited API
  48. //
  49.     virtual void         UsedShapeChanged(Environment* ev,
  50.                                      FW_CEmbeddingFrame* embeddingFrame,
  51.                                       ODFrame* odEmbeddedFrame);
  52.     
  53.     virtual ODShape*     FrameShapeRequested(Environment* ev, 
  54.                                     FW_CEmbeddingFrame* embeddingFrame, 
  55.                                     ODFrame* odEmbeddedFrame, 
  56.                                     ODShape* requestedFrameShape);
  57.                                         
  58. //----------------------------------------------------------------------------------------
  59. //    Data Members
  60. //
  61. private:
  62.     CEmbedPart*            fPart;
  63. };
  64.  
  65. #endif
  66.